package com.koron.order.overhaul.mapper;

import com.koron.order.overhaul.bean.entity.OverhaulOrderReadyBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderReadyQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OverhaulOrderReadyMapper)表数据库访问层
 *
 * @author twcao
 * @since 2021-09-29 09:49:34
 */
public interface OverhaulOrderReadyMapper {

    OverhaulOrderReadyBean queryById(String id);

    List<OverhaulOrderReadyBean> queryList(OverhaulOrderReadyQuery query);

    int saveOrUpdate(List<OverhaulOrderReadyBean> beans);

    int deleteByOrderId(@Param("orderId") String orderId);

    int hiddenByOrderId(@Param("orderId") String orderId);
}
